import settings from '@/config/index'
export function parfn(par = []) {
  let pars = settings.pars
  pars = pars.find(function (f) {
    return par[0].par == f.value
  })
  return pars ? pars : {}
}
